@extends('Layout/userbase')

@section('header-js')

	<link rel="stylesheet" type="text/css" href="{{ asset('css/base.css') }}">
	<link rel="stylesheet" type="text/css" href="{{ asset('css/member.css') }}">
  <script type="text/javascript" src="{{ asset('js/jquery.js') }}"></script>

@endsection

@section('content')
<div class="member-right fr">
    <div class="member-head">
        <div class="member-heels fl"><h2>账户安全</h2></div>
    </div>
    <div class="member-border">
       <div class="member-caution clearfix">
           <ul>
               <li class="clearfix">
                   <div class="warn1"></div>
                   <div class="warn2">登录密码</div>
                   <div class="warn3">互联网账号存在被盗风险，建议您定期更改密码以保护账户安全。</div>
                   <div class="warn5"><p><a href="{{ route('home.forgetpassword') }}">修改</a></p></div>
               </li>
               <li class="clearfix">
                   <div class="warn1"></div>
                   <div class="warn2">手机验证</div>
                   <div class="warn3">您验证的手机已验证, 若已丢失或停用，请立即更换，<i class="reds">避免账户被盗</i></div>
                   <div class="warn5"><p><a>更改绑定请联系管理员</a></p></div>
               </li>
							 <li class="clearfix">

							 @if (empty($user['email']))
                   <div class="warn6"></div>
                   <div class="warn2">绑定邮箱</div>
                   <div class="warn3">您的邮箱尚未绑定，避免账户被盗后手机丢失外加忘记密码无法找回</div>
                   <div class="warn5">
										<p><a href="{{ route('home.bindemail', ['id' => $user['id']]) }}">立即绑定</a></p>
								 	</div>
							 @else
									 <div class="warn1"></div>
									 <div class="warn2">绑定邮箱</div>
									 <div class="warn3">邮箱已绑定，账号非常安全，请安心购物</div>
									 <div class="warn5">
										<p><a href="{{ route('home.emailgetreturn') }}">邮箱修改密码</a></p>
									</div>
							 @endif
               </li>
           </ul>
       </div>
    </div>
</div>
<!-- 商城快讯 End -->

@endsection


@section('foot-js')

<script type="text/javascript">
         (function(a){
             a.fn.hoverClass=function(b){
                 var a=this;
                 a.each(function(c){
                     a.eq(c).hover(function(){
                         $(this).addClass(b)
                     },function(){
                         $(this).removeClass(b)
                     })
                 });
                 return a
             };
         })(jQuery);

         $(function(){
             $("#pc-nav").hoverClass("current");
         });
     </script>

@endsection
